package com.xt.base.model.dictionary;


/**
 * 功能分组字典 <br>
 * 
 * <p>
 * <a href="FunctionGroup.java.html"><i>查看源文件</i></a>
 * </p>
 * 
 * @author 杨洪波
 * @version $Revision: $<br>
 *          $Id: $
 * @hibernate.subclass name="FunctionGroup" discriminator-value="FunctionGroup"
 */
public class FunctionGroup extends BaseDictionary{

	private static final long serialVersionUID = -4455695016270784684L;
	
	/** 应用分类 */
	private ApplicationType appType;
	
	/** 描述 */
	private String description;
	
	/** 显示顺序 */
	private Integer displayOrder = 0;

	/** 图标名称 */
	private String imageName;

	public FunctionGroup(){
		super();
	}
	
	public FunctionGroup(String catalog){
		super(catalog);
	}
	
	public FunctionGroup(String name,String nationalCode){
		super(name,nationalCode);
	}

	public FunctionGroup(String name,String nationalCode,ApplicationType appType,
				String description,Integer displayOrder,String imageName,FunctionGroup catalog){
		super(name,nationalCode);
		this.appType = appType;
		this.description = description;
		this.displayOrder = displayOrder;
		this.imageName = imageName;
		this.superior = catalog;
	}

	/**
	 * @hibernate.many-to-one column = "ApplicationType_ID" lazy="true"
	 * @return 应用分类
	 */
	public ApplicationType getAppType() {
		return appType;
	}

	public void setAppType(ApplicationType appType) {
		this.appType = appType;
	}

	/**
	 * @hibernate.property column="Description" unique="false"
	 * @return 描述
	 */
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @hibernate.property column="DisplayOrder" unique="false"
	 * @return 显示顺序
	 */
	public int getDisplayOrder() {
		return displayOrder;
	}

	public void setDisplayOrder(int displayOrder) {
		this.displayOrder = displayOrder;
	}

	/**
	 * @hibernate.property column="ImageName" unique="false"
	 * @return 图标名称
	 */
	public String getImageName() {
		return imageName;
	}

	public void setImageName(String imageName) {
		this.imageName = imageName;
	}

}
